/**
 * @Author MrsGuo
 * version 1.0
 * @Date 2023-08-14 16:50
 */
package com.cl.erp_2301.Service.impl;


import com.cl.erp_2301.Service.ReturnOrdersService;
import com.cl.erp_2301.dto.*;

import com.cl.erp_2301.mapper.ReturnOrdersMapper;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ReturnOrderServiceImpl implements ReturnOrdersService {
    @Resource
    private ReturnOrdersMapper returnOrderMapper;
    @Override
    public List<ReturnDTO> selectReturnRequestList(Integer state) {
        return returnOrderMapper.selectReturnRequestList(state);
    }

    @Override
    public  List<MarketDTO>selectReturnInquiry() {
        return returnOrderMapper.selectReturnInquiry();
    }

    @Override
    public List<ReturnDTO> selectReturnDetailByUuid(Integer uuid) {

        return returnOrderMapper.selectReturnDetailByUuid(uuid);
    }

    @Override
    public List<ReturnDTO> selectReturnOutByUuid(Integer uuid) {
        return returnOrderMapper.selectReturnOutByUuid(uuid);
    }
}
